import bannerGoodspng from '../../../assets/app/icon/bannerGoods.png'
import picturepng from '../../../assets/app/icon/picture.png'
import picturespng from '../../../assets/app/icon/pictures.png'
import listmenupng from '../../../assets/app/icon/listmenu.png'
import titlepng from '../../../assets/app/icon/title.png'
import richtextpng from '../../../assets/app/icon/richtext.png'
import menupng from '../../../assets/app/icon/menu.png'
import floatpng from '../../../assets/app/icon/float.png'
import noticepng from '../../../assets/app/icon/notice.png'
import cubepng from '../../../assets/app/icon/cube.png'
import hotspotpng from '../../../assets/app/icon/hotspot.png'
// import tabbarpng from '../../../assets/app/icon/tabbar.png'
const typeList = [
  {
    category: "picture",
    type: "ImgCarousel",
    name: "图片轮播",
    icon: bannerGoodspng,
    isSenior: true,
    isBottom: false,
    pageConfig: {
      custom: "1",
      style: "1",
      dotshow: true,
      dotStyle: "1",
      position: "1",
      color: "",
      borderWidth: 1,
      borderColor: "",
      marginTop: 0,
      marginBottom: 0,
      marginImg: 5,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      imgList: [
        {
          imgUrl: "",
          name: "",
          url: "",
        },
        {
          imgUrl: "",
          name: "",
          url: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "Image",
    name: "图片",
    icon: picturepng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      custom: "1",
      color: "",
      marginTop: 0,
      marginBottom: 0,
      marginImg: 0,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      imgList: [
        {
          imgUrl: "",
          name: "",
          url: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "ImgBroadcast",
    name: "图片展播",
    icon: picturespng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      titleShow: true,
      titleColor: "#fff",
      subtitleShow: true,
      subtitleColor: "#333",
      titleSize: 14,
      subtitleSize: 12,
      position: "1",
      color: "",
      marginTop: 0,
      marginBottom: 0,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      imgList: [
        {
          title: "这里是主标题",
          subtitle: "这里是副标题",
          imgUrl: "",
          name: "",
          url: "",
        },
        {
          title: "这里是主标题",
          subtitle: "这里是副标题",
          imgUrl: "",
          name: "",
          url: "",
        },
        {
          title: "这里是主标题",
          subtitle: "这里是副标题",
          imgUrl: "",
          name: "",
          url: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "ImgNav",
    name: "图片导航",
    icon: picturespng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: "1",
      color: "",
      borderColor: "",
      borderWidth: 1,
      marginTop: 0,
      marginBottom: 0,
      margin: 10,
      radiusTop: 0,
      radiusBottom: 0,
      titleSize: 14,
      subtitleSize: 12,
      imgList: [
        {
          title: "主标题",
          subtitle: "副标题",
          titleColor: "#3d404d",
          subtitleColor: "#5e6066",
          color: "#fff",
          imgUrl: "",
          name: "",
          url: "",
        },
        {
          title: "主标题",
          subtitle: "副标题",
          titleColor: "#3d404d",
          subtitleColor: "#5e6066",
          color: "#fff",
          imgUrl: "",
          name: "",
          url: "",
        },
        {
          title: "主标题",
          subtitle: "副标题",
          titleColor: "#3d404d",
          subtitleColor: "#5e6066",
          color: "#fff",
          imgUrl: "",
          name: "",
          url: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "ListNav",
    name: "列表导航",
    icon: listmenupng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      iconshow: true,
      color: "",
      listcolor: "#fff",
      iconcolor: "#999999",
      textcolor: "#999999",
      linecolor: "#ededed",
      marginTop: 0,
      marginBottom: 0,
      margin: 10,
      radiusTop: 0,
      radiusBottom: 0,
      textSize: 14,
      imgList: [
        {
          title: "文字",
          imgUrl: "",
          name: "",
          url: "",
        },
        {
          title: "文字",
          imgUrl: "",
          name: "",
          url: "",
        },
        {
          title: "文字",
          imgUrl: "",
          name: "",
          url: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "Title",
    name: "标题栏",
    icon: titlepng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: "1",
      color: "",
      textcolor: "#333",
      title: "标题栏",
      marginTop: 0,
      marginBottom: 0,
      margin: 0,
      pictureShow:true,
      pictureUrl:"./imagesStatic/1663576769000Z8R8title-icon.png",
      radius:0,
      fontsize:16,
      fontbold:true,
      fontstyle:false,
      subTitleShow:true,
      subTitlecolor:'#b7bcd2',
      subFontsize:12,
      subcontent:'RECOMMEND',
      moreShow:true,
      arrowShow:true,
      morecolor:'#b0b3bf',
      morecontent:'查看更多',
      morelink:'',
      componentWay:1,
      componentcolor:'#fff',
      componentUrl:'',
    },
  },
  {
    category: "picture",
    type: "Richtext",
    name: "富文本",
    icon: richtextpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: "1",
      color: "",
      componentcolor: "",
      content: "进入富文本编辑框编辑内容",
      marginTop: 0,
      marginBottom: 0,
      margin: 10,
      radiusTop: 0,
      radiusBottom: 0,
      borderWidth: 1,
      borderColor: "",
    },
  },
  {
    category: "picture",
    type: "Btngroup",
    name: "按钮组",
    icon: menupng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      iconStyle: "1",
      shape: "3",
      icontype: "1",
      componnetstyle: "1",
      num: 4,
      columnNum: 1,
      style: "1",
      titleSize: 12,
      color: "",
      componentcolor: "#fff",
      textcolor: "#333333",
      iconcolor: "#666666",
      marginTop: 8,
      marginBottom: 8,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      borderWidth: 1,
      borderColor: "",
      imgList: [
        {
          title: "按钮文字",
          imgUrl: new URL(
            "../../../assets/app/bar/default_btn1.png",
            import.meta.url
          ).href,
          iconUrl: "copy-document",
          labelShow: true,
          labelContent: "热门",
          labelColor: "#f83287",
          textColor: "#fff",
          name: "",
          url: "",
        },
        {
          title: "按钮文字",
          imgUrl: new URL(
            "../../../assets/app/bar/default_btn2.png",
            import.meta.url
          ).href,
          iconUrl: "copy-document",
          labelShow: true,
          labelContent: "热门",
          labelColor: "#f83287",
          textColor: "#fff",
          name: "",
          url: "",
        },
        {
          title: "按钮文字",
          imgUrl: new URL(
            "../../../assets/app/bar/default_btn3.png",
            import.meta.url
          ).href,
          iconUrl: "copy-document",
          labelShow: true,
          labelContent: "热门",
          labelColor: "#f83287",
          textColor: "#fff",
          name: "",
          url: "",
        },
        {
          title: "按钮文字",
          imgUrl: new URL(
            "../../../assets/app/bar/default_btn4.png",
            import.meta.url
          ).href,
          iconUrl: "copy-document",
          labelShow: true,
          labelContent: "热门",
          labelColor: "#f83287",
          textColor: "#fff",
          name: "",
          url: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "Floatbtn",
    name: "浮动按钮",
    icon: floatpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: "1",
      custom: "1",
      position: "4",
      color: "#FD463E",
      opacity: 100,
      marginright: 20,
      marginleft: 20,
      marginBottom: 50,
      iconmargin: 15,
      imgList: [
        {
          type: "link",
          iconUrl: "31dianhua",
          imgUrl: "",
          name: "",
          url: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "Hot",
    name: "热区",
    icon: hotspotpng,
    isSenior: true,
    isBottom: false,
    pageConfig: {
      color: "",
      marginTop: 0,
      marginBottom: 0,
      marginImg: 5,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      imgUrl:"./imagesStatic/default_banner.png",
      zones:[]
    },
  },
  {
    category: "picture",
    type: "Notice",
    name: "公告",
    icon: noticepng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      iconStyle:1,
      iconShowStyle:'1',
      iconUrl:'',
      dataStyle:2,
      content:'',
      dataway:1,
      dataUrl:'',
      fontsize:14,
      fontbold:false,
      style: '1',
      borderColor: '#ededed',
      borderWidth: 1,
      color: '',
      componentColor: '#fff',
      lineColor: '#333',
      textColor: '#666',
      marginTop: 5,
      marginBottom: 5,
      margin:12,
      radiusTop: 4,
      radiusBottom: 4,
      merchantId:''
    },
  },
  {
    category: "picture",
    type: "Cube",
    name: "魔方",
    icon: cubepng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      color: '',
      marginTop: 0,
      marginBottom: 0,
      marginImg:0,
      margin:0,
      radiusTop: 0,
      radiusBottom: 0,
      cudeSelected: []
    },
  },
];

export default typeList;
